package com.nstar.base.controls
{
	import flash.display.Graphics;
	
	import mx.skins.ProgrammaticSkin;

	public class MyToolTip extends ProgrammaticSkin
	{
		public function MyToolTip()
		{
			//TODO: implement function
			super();
		}
		 // Override updateDisplayList().
		override protected function updateDisplayList(w:Number, 
		   h:Number):void {
		   // Add styleable properties here.
		   // Add logic to detect components state and set properties here.
		   // Add drawing methods here.
			var g:Graphics = graphics;
			g.clear();
			g.beginFill(0xFFFFFF,1.0);
			g.lineStyle(2, 0xFF0000);
			g.drawRect(0, 0, w, h);
			g.endFill();
			g.moveTo(0, 0);
			g.lineTo(w, h);
			g.moveTo(0, h);
			g.lineTo(w, 0);
		}		
	}
}